package com.foreknow.demo0927;

public class TestPerson {
    public static void main(String[] args) {
        Person p1 = new Person();
        p1.setName("谢诗桐");
        p1.setAge(20);
        p1.setSchool("辽宁科技学院");
        String name1 = p1.getName();
        int age1 = p1.getAge();
        String school1 = p1.getSchool();
        System.out.println(name1 + " " + age1 + " " + school1);
        Person p2 = new Person();
        p2.setName("孔纯喆");
        p2.setAge(19);
        p2.setSchool("辽宁科技学院");
        String name2 = p2.getName();
        int age2 = p2.getAge();
        String school2 = p2.getSchool();
        System.out.println(name2 + " " + age2 + " " + school2);
    }
}
